<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head  th:replace="top::html"/>
<title>专家历史对接详情</title>
<body class="fixed hold-transition skin-blue">
	<div class="wrapper">
	
		<div th:replace="tophtml::html" ></div>
		<div th:replace="left::html" ></div>
		
		<div class="content-wrapper">
	    <!-- Content Header (Page header) -->
	   	<section class="content-header">
	   	   	<h1>
	   	      	客户历史对接详情<small></small>
	   	   	</h1>
	   	   	<ol class="breadcrumb">
				<li><a href="/index"><i class="fa fa-dashboard"></i>用户中心</a></li>
				<li><a href="/customer/customerList">客户管理</a></li>
				<li><a href="#">客户历史对接详情</a></li>
		   	</ol><br/>
		   	<input type="button" class="btn btn-primary" value="返回" onclick="window.history.go(-1)">
	       	<input type="hidden" name="pageNo" id="pageNo" th:value="${pageInfo.pageNum}"/>
			<div class="box">
	        	<div class="box-body">
	            	<table class="table table-bordered">
	                	<tbody>
	                		<tr>
	                 			<th>对接介绍</th>
	                 			<th>负责人</th>
	                  			<th>对接时间</th>
	                  			<th>对接状态</th>
	                  			<th>对接详情</th>
	                  			<th>对接附件</th>
	                		</tr>
			                <tr th:each="collect,iterStat : ${pageInfo.list}">
				            	<td>
					                <p style="font-weight:bold" th:text="${collect.expertName}"></p>
					                <p style="font-weight:bold" th:text="${collect.demandName}"></p>
					                <p style="font-weight:bold" th:text="${collect.projectName}"></p>
					                <p style="font-weight:bold" th:text="${collect.customerName}"></p>
					                <p style="font-weight:bold" th:text="${collect.confName}"></p>
					            </td>
					            <td th:text="${collect.buttName}"></td>
					            <td th:text="${collect.buttDataTime}"></td>
				                <td th:if="${collect.buttStatus==1}">沟通对接需求</td>
				               	<td th:if="${collect.buttStatus==2}">已签合作协议</td>
				                <td th:if="${collect.buttStatus==3}">执行对接任务</td>
				                <td th:if="${collect.buttStatus==4}">完成对接需求</td>
				                <!-- 对接详情 -->
               					<td>
									<div class="col-md-3" style="width:100%;font-size: 14px;">
								    	<div class="box box-default collapsed-box" style="border-top:0px solid #d2d6de;">
									    	<div class="box-header with-border">
										    	<span th:if="${#strings.length(collect.buttDetails)>30}">
										        	<span th:text="${#strings.substring(collect.buttDetails,0,30)+'......'}"></span>
										        </span>
										        <span th:unless="${#strings.length(collect.buttDetails)>30}">
										        	<span th:text="${collect.buttDetails}"></span>
										        </span>
										        <div class="box-tools pull-right" th:if="${#strings.length(collect.buttDetails)>30}">
										        	<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
										        </div>
									       	</div>
									        <div class="box-body" style="display: none;">
									            <span th:text="${collect.buttDetails}"></span>
									        </div>
								    	</div>
							        </div>
               					</td>
               					<td >
               						<a  th:if="${collect.buttaNnex}" th:href="@{'/person/download?fileName='+${collect.buttaNnex}}">对接附件</a>
               					</td>   
	                		</tr>
	              		</tbody>
	              	</table>
	            </div>
	        
				<div th:replace="page::html" ></div>
	          </div>
	    </section>
	    
	    <section class="content container-fluid">
	
	    </section>
	    
	  </div>
	  	<div th:replace="footer::html" ></div>
	  	<div class="control-sidebar-bg"></div>
	</div>
		<div th:replace="bottom::html" ></div>
</body>
</html>